package com.xspace.android.xafcommon.been;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class WorkItem implements Serializable {
    /**
     * serialVersionUID :
     */
    private static final long serialVersionUID = 1L;
    /**
     * 新数据Bean结构
     */
    public int workOperateStatus = 0;//工作事项的执行状态,通过work_isdone解析出来
    public String work_isdone = "";
    public String work_isdel = "";
    public String work_id = "";//工作事项Id
    public String log_id = "";//对应日志id

    public String work_type = "";
    public String work_typename = "";
    public String work_detail_type = "";//工作详情类型 1： 申报单工作；2 周期性工作； 3 固定工作

    public String schedule_id = "";//安排计划表id
    public String table_name = "";//表后缀

    public String work_cycle = "";// 周期类型
    public String work_times = "";//周期次数
    public String work_finishtimes = "";//周期已完成次数
    public String work_remaintimes = "";//周期待办次数
    public String work_endtime = "";//截止日期
    public String execute_time = ""; //工作记录执行或者驳回日期
    public String remain_days = ""; //剩余天数

    //服务对象
    public String object_id = "";
    public String object_name = "";
    public String object_type = "";

    public String nj_userid = "";
    public String nj_username = "";

    public String service_type = "";
    public String serviceobj_id = "";//存储服务对象另外主键

    public String js_object = "";//服务对象的js串

    public String remark = "";//备注信息
    public String reason_desc = "";//备注信息

    //申报单信息
    public String apply_form_id = "";//申报单Id
    public String apply_form_key = "";//申报表单类别0 检疫 1免疫
    public String apply_form_url = "";// 申报表单预览地址
    public String apply_form_name = "";// 申报表名称
    public String form_hasapply = "";// 是否有申报单 0否；1是
    public String handler_animalname = "";//申报表 处理动物物种
    public String form_lastupdatetime = "";//申报表上次修改时间

    public String schedule_status = "";//申报表状态 1：新增；2：编辑；3：删除

    //表单
    public String form_id = "";//form_type
    public String form_name = "";// "form_name":"xxxx",
    public String form_urladd = "";//"form_urladd":"xxx",
    public String form_urledit = "";//"form_urledit":"xxx",
    public String form_urlview = "";//"form_urlview":"xxx",
    public String isrequired = "";// "isrequired":"1",
    public String form_ctime = ""; //表单建立事件
    public String is_manytimes = "";//是否可以多次提交该表单  0 不可以 ;1可以
    public String form_is_done = "0";//是否已做完
    public List<WorkUnDealForm> formList = new ArrayList<>();
    public String js_form_list = "";//表单列表的js串

    public String page_index = "";
    public int result;

    public String isdone = "";
    public String log_content = "";
    public String status = "";

    public String insert_time = "";


    //旧数据
//    public String item_id = "";
//    public String item_name = "";
//    //public String object_id;
//    //public String object_name;
//    //public String object_type;
//    //public String isdone;
//
//    public String category_id = "";
//    public String category_name = "";
//    //public String serviceobj_id;
//    public boolean ischecked;
//    public String user_mobile = "";
//    public String deptid = "";
//    public String deptname = "";
//    public String dept_code;
//    public String form_url = "";
//    public String item_type = "";
//    //	public String schedule_id;
//    public String item_type_name = "";
//    public String breed_ispig;
//    public String breed_code = "";
//    public boolean isSpecialItem;
//
//    public List<WorkItem> itemList;
//    public List<WorkItem> userList = new ArrayList<WorkItem>();
//    public HashMap<String, WorkUnDealForm> paifaSFormMap;
//
//    //关于申报单的数据
//    public String handler_id = "";//	String	申报表单
//    public String handler_key = "";//String	申报表单类别0 检疫 1免疫
//    public String handler_urlview = "";//	String	申报表单预览地址
//    public String handler_animalused = "";//String	申报表 动物用途
//    public String handler_animaltotal = "";//String	申报表 动物总数
//
//    //    public List<WorkItem> formList = new ArrayList<>();
//
//    //关于代办详情
//    public String work_time = "";//工作时间

//    public void categoryToItem() {
//        item_id = category_id;
//        item_name = category_name;
//    }

}
